package com.cl.pattern.memento.multi;

/**
 * @ClassName Memento
 * @Description  备忘录角色
 * @Author Small
 * @Date 2020/7/9 10:20
 * @Version 1.0
 **/
public class Memento {
    /**
     * 发起人内部状态
     */
    private String state = "";

    public Memento(String state) {
        this.state = state;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }
}
